<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Express extends Stourweb_Controller{


    public function before()
    {
        parent::before();
    }

    //获取目的地
    public function action_ajax_get_area()
    {
        $pid = intval($_POST['pid']);
        $list = DB::select()->from('region')->where('pid','=',$pid)->execute()->as_array();
        echo json_encode($list);
    }
}